package com.demo.studentmanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author LinQiSen
 */
@Data
@Accessors(chain = true)
@TableName("sc")
public class Score {

    @ApiModelProperty
    @TableId(value="id",type= IdType.AUTO)
    private  Integer id;

    @ApiModelProperty(value = "学生学号")
    private String sno;

    @ApiModelProperty(value = "课程号")
    private String cno;

    @ApiModelProperty(value = "成绩")
    private Double degree;


}
